#include "StdAfx.h"
#include "GMUtilManager.h"

CGMUtilManager::CGMUtilManager(void)
{
}

CGMUtilManager::~CGMUtilManager(void)
{
}

const CString CGMUtilManager::GetGMAppExistPath()
{
	TCHAR exeFullPath[MAX_PATH];
	DWORD dw = ::GetModuleFileName(NULL,exeFullPath,MAX_PATH);
	CString strFileName(exeFullPath);

	TCHAR drive[_MAX_DRIVE];
	TCHAR dir[_MAX_DIR];

	_wsplitpath(strFileName, drive, dir, NULL,NULL);
	CString strPath;
	strPath.Format(_TEXT("%s%s"), drive, dir);

	return strPath;

}
